package community

import (
	"crmeb-common/global"
)

// CommunityNotesRelation 社区笔记关系表
type CommunityNotesRelation struct {
	global.BaseModel
	NoteId int32 `json:"noteId" gorm:"column=note_id;comment:笔记ID"`

	AuthorId int32 `json:"authorId" gorm:"column=author_id;comment:笔记作者ID"`

	Uid int32 `json:"uid" gorm:"column=uid;comment:用户ID"`

	Type string `json:"type" gorm:"column=type;comment:关联类型(收藏(collect）、点赞(like))"`
}
